<?php 

class Profile_IndexController extends Zend_Controller_Action
{
	public function indexAction()
	{
		// We could display current logged in user's profile here
		// but it will take a lot of efforts
		// So, just simply redirect to dashboard (or to home)
		if (Kernel::getInstance()->isModuleActive('dashboard') === TRUE) {
			$this->_redirect('/dashboard');
		} else {
			$this->_redirect('/');
		}
	}
}